import Login from "../pages/Login/Login";
import HomePage from '../comm/HomePage/HomePage'

import IndexPage from "../pages/IndexPage/IndexPage";
import UserInfo from "../pages/UserInfo/UserInfo";
import CompanyInfo from "../pages/CompanyInfo/CompanyInfo";
import DepartmentAndStaff from "../pages/DepartmentAndStaff/DepartmentAndStaff";
import DepAndStaffUserAccount from "../pages/DepAndStaffUserAccount/DepAndStaffUserAccount";
import DepAndStaffDepSet from "../pages/DepAndStaffDepSet/DepAndStaffDepSet";
import DepAndStaffRole from "../pages/DepAndStaffRole/DepAndStaffRole";

import AccountType from "../pages/AccountType/AccountType";
import DealerArea from "../pages/DepAndStaffDepSet/DepAndStaffDepSet";
import DealerLevel from "../pages/DealerLevel/DealerLevel"
import GoodsBrand from "../pages/GoodsBrand/GoodsBrand";
import GoodsClassify from "../pages/GoodsClassify/GoodsClassify";
import NoticeClassify from "../pages/NoticeClassify/NoticeClassify";
import OrderProcess from "../pages/OrderProcess/OrderProcess";
import StoreHouse from "../pages/StoreHouse/StoreHouse";
import Units from "../pages/Units/Units";

import DistributionTask from "../pages/Order/DistributeManage/DistributionTask";
import VehicleManage from "../pages/Order/DistributeManage/VehicleManage";
import PurchaseOrder from "../pages/Order/OrderManage/PurchaseOrder";
import AddNewPurchaseOrder from "../pages/Order/OrderManage/AddNewPurchaseOrder";
import PurchaseOrderDetail from "../pages/Order/OrderManage/PurchaseOrderDetail";
import PurchaseOrderDetailItem from "../pages/Order/OrderManage/PurchaseOrderDetailItem";
import PurchaseOrderOutStock from "../pages/Order/OrderManage/PurchaseOrderOutStock";
import PurchaseOrderMoneyRecord from "../pages/Order/OrderManage/PurchaseOrderMoneyRecord";
import PurchaseOrderDeliverGoods from "../pages/Order/OrderManage/PurchaseOrderDeliverGoods";
import ReturnOrder from "../pages/Order/OrderManage/ReturnOrder";
import ReturnOrderDetail from "../pages/Order/OrderManage/ReturnOrderDetail";
import ReturnOrderDetailItem from "../pages/Order/OrderManage/ReturnOrderDetailItem";
import ReturnOrderMoneyRecord from "../pages/Order/OrderManage/ReturnOrderMoneyRecord";
import ReturnOrderDeliverGoods from "../pages/Order/OrderManage/ReturnOrderDeliverGoods";
import AddNewReturnOrder from "../pages/Order/OrderManage/AddNewReturnOrder";
import OrderGoodsByCustomer from "../pages/Order/OrderStatistics/OrderGoodsByCustomer";
import OrderGoodsByDetailed from "../pages/Order/OrderStatistics/OrderGoodsByDetailed";
import OrderGoodsByGoods from "../pages/Order/OrderStatistics/OrderGoodsByGoods";
import OutOfStockRecord from "../pages/Order/OrderStatistics/OutOfStockRecord";
import ShipmentStatistics from "../pages/Order/OrderStatistics/ShipmentStatistics";
import ChargebackGoodsStatistics from "../pages/Order/ReturnOrderStatistics/ChargebackGoodsStatistics";

import AddCostAdjust from "../pages/Products/AddCostAdjust";
import AddInventoryCommit from "../pages/Products/AddInventoryCommit";
import AddProChuku from "../pages/Products/AddProChuku";
import AddProducts from "../pages/Products/AddProducts";
import AddProviderManager from "../pages/Products/AddProviderManager";
import AddPurchaseOrder from "../pages/Products/AddPurchaseOrder";
import AddPurchaseReturn from "../pages/Products/AddPurchaseReturn";
import AddToDepot from "../pages/Products/AddToDepot";
import CostAdjust from "../pages/Products/CostAdjust";
import ImportCostAdjust from "../pages/Products/ImportCostAdjust";
import ImportProDetails from "../pages/Products/ImportProDetails";
import ImportProDHJ from "../pages/Products/ImportProDHJ";
import ImportToDepot from "../pages/Products/ImportToDepot";
import InOutDetails from "../pages/Products/InOutDetails";
import InventoryCommit from "../pages/Products/InventoryCommit";
import ProductsCheck from "../pages/Products/ProductsCheck";
import ProductsIn from "../pages/Products/ProductsIn";
import ProductsInventory from "../pages/Products/ProductsInventory";
import ProductsList from "../pages/Products/ProductsList";
import ProductsOut from "../pages/Products/ProductsOut";
import ProductsSummary from "../pages/Products/ProductsSummary";
import ProviderManager from "../pages/Products/ProviderManager";
import PurchaseOrders from "../pages/Products/PurchaseOrders";
import PurchaseReturn from "../pages/Products/PurchaseReturn";
import PurchaseSummary from "../pages/Products/PurchaseSummary";
import Qimojiezhuan from "../pages/Products/Qimojiezhuan";
import SmartSourcing from "../pages/Products/SmartSourcing";
import ProductsDetails from "../pages/Products/ProductsDetails";
import ProInDetails from '../pages/Products/ProInDetails';
import ProOutDetails from '../pages/Products/ProOutDetails';
import PurchaseOrderDetails from '../pages/Products/PurchaseOrderDetails';
import PurchaseReturnDetails from '../pages/Products/PurchaseReturnDetails';
import EditGoodsInfo from '../pages/Products/EditGoodsInfo'


import Client from "../pages/Client/Clinet";
import Business from "../pages/Business/Business";
import Feedback from "../pages/Feedback/Feedback";
import Add from "../pages/Add/Add";

import PaymentSure from "../pages/Money/MoneyManagement/PaymentSure";
import RefundSure from "../pages/Money/MoneyManagement/RefundSure";
import PaymentAccount from "../pages/Money/MoneyManagement/PaymentAccount";
import CapitalAccount from "../pages/Money/MoneyManagement/CapitalAccount";
import OtherPayments from "../pages/Money/MoneyManagement/OtherPayments";
import PaymentOrder from "../pages/Money/MoneyManagement/PaymentOrder";
import Voucher from "../pages/Money/MoneyManagement/Voucher";
import ClientReconciliation from "../pages/Money/CheckManagement/ClientReconciliation";
import CustomerStatement from "../pages/Money/CheckManagement/CustomerStatement";
import Record from "../pages/Money/CheckManagement/Record";
import OrderCollection from "../pages/Money/MoneyStatistics/OrderCollection";
import AddVoucher from "../pages/Money/AddOrder/AddVoucher";
import AddPaymentOrder from "../pages/Money/AddOrder/AddPaymentOrder";
import Reconciliation from "../pages/Money/AddOrder/Reconciliation";
import OnlinePayment from "../pages/Money/MoneyManagement/OnlinePayment";
import OfflinePayment from "../pages/Money/MoneyManagement/OfflinePayment";
import CapitalSubsidiary from "../pages/Money/MoneyManagement/CapitalSubsidiary";
import PaymentDetails from "../pages/Money/MoneyStatistics/PaymentDetails";
import PaymentDetailsA from "../pages/Money/MoneyManagement/PaymentDetailsA";


import AdvertisingRelease from "../pages/Marketing/AdvertisingRelease/AdvertisingRelease";
import AdvertisingNew from "../pages/Marketing/AdvertisingRelease/NewAdvertising";
import CombinationPromotion from "../pages/Marketing/CombinationPromotion/CombinationPromotion";
import NewCombinationPromotion from "../pages/Marketing/CombinationPromotion/NewCombinationPromotion";
import DiscountCoupon from "../pages/Marketing/DiscountCoupon/DiscountCoupon";
import NewDiscountCoupon from "../pages/Marketing/DiscountCoupon/NewDiscountCoupon";
import EffectAnalysis from "../pages/Marketing/EffectAnalysis/EffectAnalysis";
import Integral from "../pages/Marketing/Integral/Integral";
import NoteRecharge from "../pages/Marketing/NoteRecharge/NoteRecharge";
import NotificationAnnouncement from "../pages/Marketing/NotificationAnnouncement/NotificationAnnouncement";
import NoticeNew from "../pages/Marketing/NotificationAnnouncement/NewNotice";
import NotificationSetting from "../pages/Marketing/NotificationSetting/NotificationSetting";
import OrdersPromotion from "../pages/Marketing/OrdersPromotion/OrdersPromotion";
import NewOrdersPromotion from "../pages/Marketing/OrdersPromotion/NewOrdersPromotion";
import ProductPromotion from "../pages/Marketing/ProductPromotion/ProductPromotion";
import NewProductPromotion from "../pages/Marketing/ProductPromotion/NewProductPromotion";
import PullNewcommission from "../pages/Marketing/PullNewcommission/PullNewcommission";
import NewRules from "../pages/Marketing/PullNewcommission/NewRules";
import SlyderAdventure from "../pages/Marketing/SlyderAdventure/SlyderAdventure";
import NewSlyderAdventure from "../pages/Marketing/SlyderAdventure/NewSlyderAdventure";

import ReStaffPullNew from "../pages/Report/ReStaffPullNew/ReStaffPullNew"
import ReSale from "../pages/Report/ReSale/ReSale"
import ReReceivable from "../pages/Report/ReReceivable/ReReceivable"
import RePullNew from "../pages/Report/RePullNew/RePullNew"
import RePerformance from "../pages/Report/RePerformance/RePerformance"
import ReOrder from "../pages/Report/ReOrder/ReOrder"
import ReGrossMargin from "../pages/Report/ReGrossMargin/ReGrossMargin"
import ReCustomerOrder from "../pages/Report/ReCustomerOrder/ReCustomerOrder"
import ReArea from "../pages/Report/ReArea/ReArea"
import ReFreshLoss from "../pages/Report/ReFreshLoss/ReFreshLoss"

export default [
    {
        path: '/',
        name: '登录1',
        redirect: '/login',
        meta: {
            require: false
        }
    },
    {
        path: '/login',
        name: '登录',
        component: Login,
        meta: {
            require: false
        },
        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
    },
    {
        path: '/homepage',
        name: '首页',
        component: HomePage,
        redirect: '/homepage/indexpage',
        meta: {require: true},
        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
        children: [
            /*岳利*/
            {
                path: '/homepage/indexpage',
                name: '主页',
                component: IndexPage,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/userinfo',
                name: '账号信息',
                component: UserInfo,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/companyinfo',
                name: '公司信息',
                component: CompanyInfo,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/departmentandstaff',
                name: '部门与员工',
                component: DepartmentAndStaff,
                redirect: '/homepage/departmentandstaff/usercount',
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                children: [
                    {
                        path: '/homepage/departmentandstaff/usercount',
                        name: '员工账号',
                        component: DepAndStaffUserAccount,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },
                    {
                        path: '/homepage/departmentandstaff/staffset',
                        name: '部门设置',
                        component: DepAndStaffDepSet,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },
                    {
                        path: '/homepage/departmentandstaff/staffrole',
                        name: '角色与权限管理',
                        component: DepAndStaffRole,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    }
                ]
            },
            /*廖璋玉*/
            {
                path: '/homepage/accounttype',
                name: '账期类型',
                component: AccountType,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/dealerarea',
                name: '经销商归属区域',
                component: DealerArea,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/dealerlevel',
                name: '经销商级别',
                component: DealerLevel,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/goodsbrand',
                name: '商品品牌',
                component: GoodsBrand,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/goodsclassify',
                name: '商品分类',
                component: GoodsClassify,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/noticeclassify',
                name: '通知分类',
                component: NoticeClassify,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/orderprocess',
                name: '订单处理流程设置',
                component: OrderProcess,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/storehouse',
                name: '仓库',
                component: StoreHouse,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/Units',
                name: '计量单位',
                component: Units,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            /*欧成乐*/
            {
                path: '/homepage/distributiontask',
                name: '配送任务',
                component: DistributionTask,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/vehiclemanage',
                name: '车辆管理',
                component: VehicleManage,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/purchaseorder',
                name: '订货单',
                component: PurchaseOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addNewPurchaseOrder',
                name: '新增订货单',
                component: AddNewPurchaseOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/purchaseOrderDetail',
                name: '订单详情',
                component: PurchaseOrderDetail,
                redirect: '/homepage/purchaseOrderDetail/purchaseOrderDetailItem',
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                children: [{
                    path: '/homepage/purchaseOrderDetail/purchaseOrderDetailItem',
                    name: '订单详情页',
                    component: PurchaseOrderDetailItem,
                    meta: {require: true},
                    role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                },
                    {
                        path: '/homepage/purchaseOrderDetail/PurchaseOrderOutStock',
                        name: '出库发货记录',
                        component: PurchaseOrderOutStock,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },
                    {
                        path: '/homepage/purchaseOrderDetail/PurchaseOrderMoneyRecord',
                        name: '收款记录',
                        component: PurchaseOrderMoneyRecord,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },
                    {
                        path: '/homepage/purchaseOrderDetail/PurchaseOrderDeliverGoods',
                        name: '发货签收记录',
                        component: PurchaseOrderDeliverGoods,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },]

            },
            {
                path: '/homepage/returnorder',
                name: '退货单',
                component: ReturnOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/AddNewReturnOrder',
                name: '新增退货单',
                component: AddNewReturnOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/returnOrderDetail',
                name: '退单详情',
                component: ReturnOrderDetail,
                redirect: '/homepage/returnOrderDetail/returnOrderDetailItem',
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                children: [
                    {
                        path: '/homepage/returnOrderDetail/returnOrderDetailItem',
                        name: '退单详情页',
                        component: ReturnOrderDetailItem,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },

                    {
                        path: '/homepage/returnOrderDetail/returnOrderMoneyRecord',
                        name: '退款记录',
                        component: ReturnOrderMoneyRecord,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },
                    {
                        path: '/homepage/returnOrderDetail/returnOrderDeliverGoods',
                        name: '收货记录',
                        component: ReturnOrderDeliverGoods,
                        meta: {require: true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },]

            },
            {
                path: '/homepage/ordergoodsbycustomer',
                name: '订单按客户',
                component: OrderGoodsByCustomer,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/ordergoodsbydetailed',
                name: '订单按明细',
                component: OrderGoodsByDetailed,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/ordergoodsbygoods',
                name: '订单按商品',
                component: OrderGoodsByGoods,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/outOfstockrecord',
                name: '出库发货记录',
                component: OutOfStockRecord,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/shipmentstatistics',
                name: '发货统计',
                component: ShipmentStatistics,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/chargebackgoodsstatistics',
                name: '退单商品统计',
                component: ChargebackGoodsStatistics,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            /*刘德江*/
            {
                path: '/homepage/productslist',
                name: '商品列表',
                component: ProductsList,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/productsinventory',
                name: '商品库存',
                component: ProductsInventory,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/productsin',
                name: '商品入库',
                component: ProductsIn,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/productsout',
                name: '商品出库',
                component: ProductsOut,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/inventorycommit',
                name: '库存调拨',
                component: InventoryCommit,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/productscheck',
                name: '库存盘点',
                component: ProductsCheck,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/inoutdetails',
                name: '出入库明细',
                component: InOutDetails,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/productssummary',
                name: '商品收发汇总',
                component: ProductsSummary,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/costadjust',
                name: '成本调整',
                component: CostAdjust,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/qimojiezhuan',
                name: '期末结转',
                component: Qimojiezhuan,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/rrovidermanager',
                name: '供应商管理',
                component: ProviderManager,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/smartsourcing',
                name: '智能采购',
                component: SmartSourcing,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/purchaseorders',
                name:'采购订单',
                component:PurchaseOrders,
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/purchasereturn',
                name: '采购退货',
                component: PurchaseReturn,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/purchasesummary',
                name: '采购汇总',
                component: PurchaseSummary,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addcostadjust',
                name: '新增成本调整',
                component: AddCostAdjust,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addinventorycommit',
                name: '新增库存调拨',
                component: AddInventoryCommit,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addprochuku',
                name: '新增商品出库',
                component: AddProChuku,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addproducts',
                name: '新增商品',
                component: AddProducts,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addprovidermanager',
                name: '新增供应商管理',
                component: AddProviderManager,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addpurchaseorder',
                name: '新增采购订单',
                component: AddPurchaseOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addpurchasereturn',
                name: '新增采购退货',
                component: AddPurchaseReturn,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addtodepot',
                name: '新增商品入库',
                component: AddToDepot,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/importcostadjust',
                name: '导入成本调整',
                component: ImportCostAdjust,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/importprodetails',
                name: '导入商品详情',
                component: ImportProDetails,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/importprodhj',
                name: '导入商品订货价',
                component: ImportProDHJ,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/productsdetails',
                name: '商品详情',
                component: ProductsDetails,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/importtodepot',
                name: '导入库存',
                component: ImportToDepot,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/proindetails',
                name:'商品入库详情',
                component:ProInDetails,
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/prooutdetails',
                name:'出库详情',
                component:ProOutDetails,
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/purchaseorderdetails',
                name:'采购订单详情',
                component:PurchaseOrderDetails,
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/purchasereturndetails',
                name:'采购退货详情',
                component:PurchaseReturnDetails,
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/editdoodsinfo',
                name:'修改商品信息',
                component:EditGoodsInfo,
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            /*张冶*/
            {
                path: '/homepage/client',
                name: '客户列表',
                component: Client,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/business',
                name: '商机管理',
                component: Business,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/feedback',
                name: '客户反馈',
                component: Feedback,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/add',
                name: '新增客户',
                component: Add,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            /*赵帆*/
            {
                path: '/homepage/paymentsure',
                name: '付款确认',
                component: PaymentSure,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/refundsure',
                name: '退款确认',
                component: RefundSure,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/paymentaccount',
                name:'收款账户',
                component:PaymentAccount,
                redirect:'/homepage/paymentaccount/onlinepayment',
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                children:[
                    {
                        path:'/homepage/paymentaccount/onlinepayment',
                        name:'在线支付',
                        component:OnlinePayment,
                        meta:{require:true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    },
                    {
                        path:'/homepage/paymentaccount/offlinepayment',
                        name:'线下支付',
                        component:OfflinePayment,
                        meta:{require:true},
                        role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
                    }
                ]
            },
            {
                path: '/homepage/capitalaccount',
                name: '资金账户',
                component: CapitalAccount,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/otherpayments',
                name: '其他收支',
                component: OtherPayments,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/paymentorder',
                name: '付款单',
                component: PaymentOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/voucher',
                name: '收款单',
                component: Voucher,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/clientreconciliation',
                name: '客户对账',
                component: ClientReconciliation,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/customerstatement',
                name: '客户对账单',
                component: CustomerStatement,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/record',
                name: '核销记录',
                component: Record,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/ordercollection',
                name: '订单收款统计',
                component: OrderCollection,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/paymentdetails',
                name: '收支明细',
                component: PaymentDetails,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addvoucher',
                name: '新增收款单',
                component: AddVoucher,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/addpaymentorder',
                name: '新增付款单',
                component: AddPaymentOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/reconciliation',
                name: '对账初始化导入',
                component: Reconciliation,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/paymentdetailsa',
                name:'收款详情',
                component:PaymentDetailsA,
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path:'/homepage/capitalsubsidiary',
                name:'资金明细',
                component:CapitalSubsidiary,
                meta:{require:true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            /*宗增旭*/
            {
                path: '/homepage/advertisingrelease',
                name: '广告发布',
                component: AdvertisingRelease,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/advertisingnew',
                name: '广告发布新增',
                component: AdvertisingNew,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/combinationpromotion',
                name: '组合促销',
                component: CombinationPromotion,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/newcombinationpromotion',
                name: '组合促销新增',
                component: NewCombinationPromotion,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/discountcoupon',
                name: '优惠券',
                component: DiscountCoupon,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/newdiscountcoupon',
                name: '优惠券新增',
                component: NewDiscountCoupon,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/effectanalysis',
                name: '效果分析',
                component: EffectAnalysis,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/integral',
                name: '积分',
                component: Integral,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/noterecharge',
                name: '短信充值',
                component: NoteRecharge,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/notificationannouncement',
                name: '通知公告',
                component: NotificationAnnouncement,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/noticeNew',
                name: '通知公告新增',
                component: NoticeNew,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/notificationsetting',
                name: '通知设置',
                component: NotificationSetting,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/orderspromotion',
                name: '订单促销',
                component: OrdersPromotion,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/neworderspromotion',
                name: '订单促销新增',
                component: NewOrdersPromotion,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/productpromotion',
                name: '商品促销',
                component: ProductPromotion,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/newproductpromotion',
                name: '商品促销新增',
                component: NewProductPromotion,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/pullnewcommission',
                name: '拉新提成',
                component: PullNewcommission,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/newrules',
                name: '拉新提成新增规则',
                component: NewRules,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/slyderadventure',
                name: '大转盘',
                component: SlyderAdventure,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/newslyderadventure',
                name: '大转盘新增',
                component: NewSlyderAdventure,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            /*张笛*/
            {
                path: '/homepage/restaffpullnew',
                name: '员工拉新统计',
                component: ReStaffPullNew,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/resale',
                name: '商品销售报表',
                component: ReSale,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/rereceivable',
                name: '应收统计报表',
                component: ReReceivable,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/repullnew',
                name: '客户拉新统计',
                component: RePullNew,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/reperformance',
                name: '员工业绩统计报表',
                component: RePerformance,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/reorder',
                name: '订单统计报表',
                component: ReOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/regrossmargin',
                name: '销售毛利统计报表',
                component: ReGrossMargin,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/recustomerorder',
                name: '客户订货报表',
                component: ReCustomerOrder,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/rearea',
                name: '地区统计报表',
                component: ReArea,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
            {
                path: '/homepage/refreshloss',
                name: '损耗统计报表',
                component: ReFreshLoss,
                meta: {require: true},
                role: ['张三', '李四','李林鑫','岳利','杨光兴','廖漳钰','欧成乐','赵帆','刘德江','张笛','张冶','宗增旭'],
            },
        ]
    }
]